package card.impl;

import java.sql.Date;

import account.IAccount;
import card.ICard;

public class Card implements ICard {
	private Long id;
	private IAccount account;
	private Integer code;
	private Date creationDate;
	private Date endDate;

	@Override
	public void setId(Long id) {
		this.id = id;
	}

	@Override
	public Long getId() {
		return id;
	}

	@Override
	public void setAccount(IAccount account) {
		this.account = account;
	}

	@Override
	public IAccount getAccount() {
		return account;
	}

	@Override
	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}

	@Override
	public Date getCreationDate() {
		return creationDate;
	}

	@Override
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	@Override
	public Date getEndDate() {
		return endDate;
	}

	@Override
	public void setCode(Integer code) {
		this.code = code;
	}

	@Override
	public Integer getCode() {
		return code;
	}

}
